<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html class="x-admin-sm">
  
  <head>
    <meta charset="UTF-8">
    <title>修改文章状态</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
   
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/index.css">
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/index.js"></script>

  </head>
  
  <body>
 	<div>
 	 
 	</div>
    <div class="layui-fluid">
        <div class="layui-row">
            
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
        	<i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        	
        	
        	<form action="" method="post" class="layui-form layui-form-pane" >
                 <div class="layui-form-item layui-form-text" id="content">
                 
                 </div>
                  
             
            </form>
        </div>
    </div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script>
  let adminName="${param.adminName}";
  let operateObjectId="${param.operateObjectId}";
  let operateAfter="${param.operateAfter}";
  console.log(adminName);
  console.log(operateObjectId);
  console.log(operateAfter);
  
  queryArticle();
  function queryArticle(){
 
			var temp = ``;
			if(adminName != null){
					
					temp +=`
						<label for="desc" class="layui-form-label" >
	            操作用户名
	                    </label>
	                    <div class="layui-input" id="title">
	                        <text placeholder="" id="desc" name="desc" class="layui-textarea" >${param.adminName}</text>
	                    </div>
	                    </div>
	                    <br>
	                     <div class="layui-form-item layui-form-text" id="authorname">
	                      <label for="desc" class="layui-form-label">
	             操作对象id
	                    </label>
	                    <div class="layui-input">
	                        <text placeholder="" id="desc" name="desc" class="layui-textarea">${param.operateObjectId}</text>
	                    </div>
	                </div>
	                <div class="layui-form-item layui-form-text">
	                    <label for="desc" class="layui-form-label" id="content">
	             操作后的状态
	                    </label>
	                    <div class="layui-input-block">
	                        <text placeholder="" id="desc" name="desc" class="layui-textarea" >${param.operateAfter}</textarea>
	                    </div>
	                </div>   
						 `;
			}
			$("#content").html(temp);
		
  
  };
</script>	
</body>				
</html>